#include<iostream>
using namespace std;

int main()
{
    int m,n,p;
    while(cin>>m>>n>>p)
    {
        if(m==0&&n==0&&p==0) break;
        if(m<n*p) cout<<n*p<<endl;
        else cout<<m<<endl;
    }
    return 0;
}
